package com.cskaoyan.util;

public enum OrderStatusEnum {
    UNPAID(101,"未付款"),
    CANCELED_BY_USER(102,"用户取消"),
    CANCELED_BY_SYSTEM(103,"系统取消"),
    PAID(201,"已付款"),
    REFUNDING(202,"申请退款"),
    REFUNDED(203,"已退款"),
    DELIVERED(301,"已发货"),
    CONFIRM_BY_USER(401,"用户收货"),
    CONFIRM_BY_SYSTEM(402,"系统收货");

    private Integer stateId;
    private String stateName;

    OrderStatusEnum(Integer stateId, String stateName) {
        this.stateId = stateId;
        this.stateName = stateName;
    }

    public Integer getStateId() {
        return stateId;
    }

    public void setStateId(Integer stateId) {
        this.stateId = stateId;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }
}
